<?php

Class Test_lib
{
    function __construct()
    {
       loader::database();
       loader::base_helper('text');
    }
    
    // test for Can use db object from library or not ?
    function test()
    {   
        
        echo highlight_phrase('test for Can use db object from library or not ?', 'db');
        
        echo '<br />You can use ob shortcut class for control the all base libraries !!!<br /><br />';
        echo ob::ip().'<br />';  
        echo ob::uri_string();
          
        $ob = ob::instance();

        print_r($ob->db->drivers()); 
    }
    
} //end of the class.
  
?>
